//
//  DSGuanzhuViewController.m
//  budejie
//
//  Created by Dason on 16/8/22.
//  Copyright © 2016年 Dason. All rights reserved.
//

#import "DSGuanzhuNavController.h"
#import "DSGuanZhuTabController.h"

@interface DSGuanzhuNavController ()

@end

@implementation DSGuanzhuNavController


#pragma mark - 重写 init 方法调用,设置根控制器
- (instancetype)init {
    
    DSGuanZhuTabController *guanZhuTableVc = [[DSGuanZhuTabController alloc]initWithStyle:UITableViewStylePlain];
    guanZhuTableVc.tableView.backgroundColor = [UIColor colorWithRed:arc4random() % 266 / 255.0 green:arc4random() % 266 / 255.0 blue:arc4random() % 266 / 255.0 alpha:1];
    if (self = [super initWithRootViewController:guanZhuTableVc]) {
        
    }
    
    return self;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
